package com.tuling.multidatasource.exception;

import com.tuling.multidatasource.enumuration.MultiDsErrorEnum;

/**
 * @author allen
 * @date 2020-04-21
 */
public class ParamsNotContainsRoutingFieldException extends MultiDsException {
    public ParamsNotContainsRoutingFieldException(MultiDsErrorEnum multiDsErrorEnum){
        super();
        setExceptionCode(multiDsErrorEnum.PARAMS_NOT_CONTAINS_ROUTING_FIELD.getCode());
        setMsg(multiDsErrorEnum.PARAMS_NOT_CONTAINS_ROUTING_FIELD.getMsg());
    }
}
